<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>故障诊断工具</title>
    <!--<base href="http://localhost:63342/NodeTest/"/>-->
    <link rel="stylesheet" href="../css/main.min.css">
    <script src="../js/main.min.js"></script>
    <script src="../base/core.js"></script>
    <script src="faultView.js"></script>
    <script src="tree-view.js"></script>
    <link rel="stylesheet" href="treeview.css">
    <style>
        #faultTreeDiv div{
            border:2px solid black;
        }

        #nodeDetail2{
            font-size: x-large;
        }
    </style>
    <style media="print">
        .no-print { display: none }
        .page-next{ page-break-after: always }
    </style>
</head>
<body ng-app="myApp" ng-controller="manageController2">
<!--知识库查询-->
<div class="container-fluid">
    <div class="row">
        <form class="form-inline">
            <div class="form-group">
                <label>故障名称</label>
                <select class="form-control" data-ng-model="query.fault" data-ng-options="fault.name for fault in faults"></select>
                <p class="form-control-static"><a href="javascript:;" ng-click="displayAllTree()">展示所有故障树</a></p>
            </div>
        </form>
    </div>
    <div class="row">
        <div class="col-md-4">
            <div class="panel" style="height: 800px">
                <div class="panel-heading">故障树&nbsp;<a href="javascript:;" ng-click="graphTree.collapseAll()">展开所有节点</a> </div>
                <div class="panel-body treeDiv">
                    <tree-view tree-service="graphTree" node-label="text"></tree-view>
                </div>
            </div>
        </div>
        <div class="col-md-8">
            <div class="panel" style="height: 800px">
                <div class="panel-heading">节点详情</div>
                <div class="panel-body">
                    <form class="form-horizontal nodeDetail" id="nodeDetail2">

                    </form>
                    <iframe width="100%" height="100%" style="min-height: 600px" scrolling="auto" ng-src="{{faultUrl}}">

                    </iframe>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>